]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
authPrompt: emit prompted when given a message
authorRay Strode <rstrode@redhat.com>
Mon, 29 Jul 2013 18:37:10 +0000 (14:37 -0400)
committerRay Strode <rstrode@redhat.com>
Mon, 19 Aug 2013 01:15:37 +0000 (21:15 -0400)
Some pam modules prompt without expecting the user to type
an answer back (e.g. "Please swipe finger").  We need to
emit prompted in this case too, so the the dialog will get shown.

https://bugzilla.gnome.org/show_bug.cgi?id=683437

js/gdm/authPrompt.js

index c7648c2925f0b6a5b0607e77f786e0f1f3a7683d..640395afe8f3f598c2610463c6f9f696fe3ab8d3 100644 (file)
@@ -223,6 +223,7 @@ const AuthPrompt = new Lang.Class({
 
     _onShowMessage: function(userVerifier, message, styleClass) {
         this.setMessage(message, styleClass);
+        this.emit('prompted');
     },
 
     _onVerificationFailed: function() {